home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 25
/
PC Gamer IT CD 25.iso
/
ZGI_DEMO
/
DATA
/
SCRIPTS.ZFS
/
gjm1.scr
< prev
next >
Wrap
Text File
|
1997-09-04
|
16KB
|
562 lines
# Node gjm1 generated on Thu Sep 04 16:18:39 1997
world g
room j
nodeview m1
puzzle:01150 { # gjm1_screenset
criteria {
}
results {
action:assign(00008, 0) # KeyPress
action:menu_bar_enable(257)
action:set_screen(g00zf101.tga)
action:assign(01151, 0) # gjmb_leave_in_three_seconds
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01152 { # gjm1_preload_anim_1
criteria {
[00191] = 2 # SPELL_1_IN_BOOK
}
results {
action:assign(01153, 1) # gjm1_cant_go
action:animpreload:01154(g00za751.rlf 0 0 0 15) # gjm1_spell_1_anim_task
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01155 { # gjm1_anim_1_start_puz
criteria {
[01150] = 1 # gjm1_screenset
[00191] = 2 # SPELL_1_IN_BOOK
[01152] = 1 # gjm1_preload_anim_1
}
results {
action:assign(01156, 1) # gjm1_spell_1_in
action:music:01157(0 gs0zq75q.raw 0 100) # gjm1_add_spell_music_1
action:playpreload:01158(01154 320 50 620 110 0 29 1) # gjm1_spell_1_anim_task
}
flags {
do_me_now
}
}
puzzle:01159 { # gjm1_anim_1_end_puz
criteria {
[01158] = 2 # gjm1_spell_1_anim
}
results {
action:assign(00191, 1) # SPELL_1_IN_BOOK
action:assign(01158, 0) # gjm1_spell_1_anim
action:enable_control(01160) # gjm1_magic_spell_1_click
action:add(01161, 1) # gjmb_spell_counter
action:set_partial_screen(320 50 g00zv751.tga 0 -1)
action:timer:01151(30) # gjmb_leave_in_three_seconds
action:assign(01153, 0) # gjm1_cant_go
}
}
puzzle:01156 { # gjm1_spell_1_in
criteria {
[01150] = 1 # gjm1_screenset
[00191] = 1 # SPELL_1_IN_BOOK
}
results {
action:assign(01162, 1) # gjm1_spell_1_out
action:assign(01163, 1) # gjm1_spell_1_reversed
action:enable_control(01160) # gjm1_magic_spell_1_click
action:set_partial_screen(320 50 g00zv751.tga 0 -1)
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01162 { # gjm1_spell_1_out
criteria {
[00191] ! 1 # SPELL_1_IN_BOOK
[00191] ! 3 # SPELL_1_IN_BOOK
}
results {
action:assign(01156, 1) # gjm1_spell_1_in
action:assign(01163, 1) # gjm1_spell_1_reversed
action:disable_control(01160) # gjm1_magic_spell_1_click
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01163 { # gjm1_spell_1_reversed
criteria {
[01150] = 1 # gjm1_screenset
[00191] = 3 # SPELL_1_IN_BOOK
}
results {
action:assign(01156, 1) # gjm1_spell_1_in
action:assign(01162, 1) # gjm1_spell_1_out
action:enable_control(01160) # gjm1_magic_spell_1_click
action:set_partial_screen(320 50 g00zv751.tga 0 -1)
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01164 { # gjm1_preload_anim_2
criteria {
[00192] = 2 # SPELL_2_IN_BOOK
}
results {
action:assign(01153, 1) # gjm1_cant_go
action:animpreload:01165(g00za751.rlf 0 0 0 15) # gjm1_spell_2_anim_task
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01166 { # gjm1_anim_2_start_puz
criteria {
[01150] = 1 # gjm1_screenset
[00192] = 2 # SPELL_2_IN_BOOK
[01164] = 1 # gjm1_preload_anim_2
}
results {
action:assign(01167, 1) # gjm1_spell_2_in
action:music:01168(0 gs0zq75q.raw 0 100) # gjm1_add_spell_music_2
action:playpreload:01169(01165 320 110 620 170 0 29 1) # gjm1_spell_2_anim_task
}
flags {
do_me_now
}
}
puzzle:01170 { # gjm1_anim_2_end_puz
criteria {
[01169] = 2 # gjm1_spell_2_anim
}
results {
action:assign(00192, 1) # SPELL_2_IN_BOOK
action:assign(01169, 0) # gjm1_spell_2_anim
action:enable_control(01171) # gjm1_magic_spell_2_click
action:add(01161, 1) # gjmb_spell_counter
action:set_partial_screen(320 110 g00zv751.tga 0 -1)
action:timer:01151(30) # gjmb_leave_in_three_seconds
action:assign(01153, 0) # gjm1_cant_go
}
}
puzzle:01167 { # gjm1_spell_2_in
criteria {
[01150] = 1 # gjm1_screenset
[00192] = 1 # SPELL_2_IN_BOOK
}
results {
action:assign(01172, 1) # gjm1_spell_2_out
action:assign(01173, 1) # gjm1_spell_2_reversed
action:enable_control(01171) # gjm1_magic_spell_2_click
action:set_partial_screen(320 110 g00zv751.tga 0 -1)
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01172 { # gjm1_spell_2_out
criteria {
[00192] ! 1 # SPELL_2_IN_BOOK
[00192] ! 3 # SPELL_2_IN_BOOK
}
results {
action:assign(01167, 1) # gjm1_spell_2_in
action:assign(01173, 1) # gjm1_spell_2_reversed
action:disable_control(01171) # gjm1_magic_spell_2_click
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01173 { # gjm1_spell_2_reversed
criteria {
[01150] = 1 # gjm1_screenset
[00192] = 3 # SPELL_2_IN_BOOK
}
results {
action:assign(01167, 1) # gjm1_spell_2_in
action:assign(01172, 1) # gjm1_spell_2_out
action:enable_control(01171) # gjm1_magic_spell_2_click
action:set_partial_screen(320 110 g00zv751.tga 0 -1)
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01174 { # gjm1_preload_anim_3
criteria {
[00193] = 2 # SPELL_3_IN_BOOK
}
results {
action:assign(01153, 1) # gjm1_cant_go
action:animpreload:01175(g00za751.rlf 0 0 0 15) # gjm1_spell_3_anim_task
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01176 { # gjm1_anim_3_start_puz
criteria {
[01150] = 1 # gjm1_screenset
[00193] = 2 # SPELL_3_IN_BOOK
[01174] = 1 # gjm1_preload_anim_3
}
results {
action:assign(01177, 1) # gjm1_spell_3_in
action:music:01178(0 gs0zq75q.raw 0 100) # gjm1_add_spell_music_3
action:playpreload:01179(01175 320 170 620 230 0 29 1) # gjm1_spell_3_anim_task
}
flags {
do_me_now
}
}
puzzle:01180 { # gjm1_anim_3_end_puz
criteria {
[01179] = 2 # gjm1_spell_3_anim
}
results {
action:assign(00193, 1) # SPELL_3_IN_BOOK
action:assign(01179, 0) # gjm1_spell_3_anim
action:enable_control(01181) # gjm1_magic_spell_3_click
action:add(01161, 1) # gjmb_spell_counter
action:set_partial_screen(320 170 g00zv751.tga 0 -1)
action:timer:01151(30) # gjmb_leave_in_three_seconds
action:assign(01153, 0) # gjm1_cant_go
}
}
puzzle:01177 { # gjm1_spell_3_in
criteria {
[01150] = 1 # gjm1_screenset
[00193] = 1 # SPELL_3_IN_BOOK
}
results {
action:assign(01182, 1) # gjm1_spell_3_out
action:assign(01183, 1) # gjm1_spell_3_reversed
action:enable_control(01181) # gjm1_magic_spell_3_click
action:set_partial_screen(320 170 g00zv751.tga 0 -1)
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01182 { # gjm1_spell_3_out
criteria {
[00193] ! 1 # SPELL_3_IN_BOOK
[00193] ! 3 # SPELL_3_IN_BOOK
}
results {
action:assign(01177, 1) # gjm1_spell_3_in
action:assign(01183, 1) # gjm1_spell_3_reversed
action:disable_control(01181) # gjm1_magic_spell_3_click
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01183 { # gjm1_spell_3_reversed
criteria {
[01150] = 1 # gjm1_screenset
[00193] = 3 # SPELL_3_IN_BOOK
}
results {
action:assign(01177, 1) # gjm1_spell_3_in
action:assign(01182, 1) # gjm1_spell_3_out
action:enable_control(01181) # gjm1_magic_spell_3_click
action:set_partial_screen(320 170 g00zv751.tga 0 -1)
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01184 { # gjm1_turn_page
criteria {
[01185] = 1 # gjm1_page_turn_1
}
results {
action:assign(01185, 0) # gjm1_page_turn_1
action:assign(01186, 1) # gjmb_current_page
action:universe_music:01187(0 g100h84q.raw 0 100) # gjm1_page_turn_right_sound
action:dissolve()
action:change_location(g, j, m2, 0)
}
flags {
once_per_inst
}
}
puzzle:01188 { # gjm1_time_to_return
criteria {
[01189] = 1 # not_gonna_happen
[01151] = 2 # gjmb_leave_in_three_seconds
}
results {
action:assign(01151, 0) # gjmb_leave_in_three_seconds
action:assign(01190, 1) # gjm1_backup
}
flags {
once_per_inst
}
}
puzzle:01191 { # gjm1_cant_go_yet
criteria {
[01190] = 1 # gjm1_backup
[01153] = 1 # gjm1_cant_go
}
criteria {
[00008] = 32 # KeyPress
[01153] = 1 # gjm1_cant_go
}
results {
action:assign(01191, 0) # gjm1_cant_go_yet
action:assign(00008, 0) # KeyPress
action:assign(01190, 0) # gjm1_backup
}
flags {
once_per_inst
}
}
puzzle:01192 { # gjm1_goto_return_screen
criteria {
[01190] = 1 # gjm1_backup
[01066] ! 1 # gjiv_came_from_inv
[01153] = 0 # gjm1_cant_go
}
criteria {
[00008] = 32 # KeyPress
[01066] ! 1 # gjiv_came_from_inv
[01153] = 0 # gjm1_cant_go
}
results {
action:assign(01066, 0) # gjiv_came_from_inv
action:assign(00008, 0) # KeyPress
action:assign(01190, 0) # gjm1_backup
action:assign(01192, 0) # gjm1_goto_return_screen
action:assign(01099, 0) # gjmb_came_from_mb
action:assign(01103, 0) # gjma_came_from_map
action:dissolve()
action:change_location(0, 0, 00, 0)
}
flags {
once_per_inst
}
}
puzzle:01193 { # gjm1_goto_magic_inv
criteria {
[01190] = 1 # gjm1_backup
[01066] = 1 # gjiv_came_from_inv
[01153] = 0 # gjm1_cant_go
}
criteria {
[00008] = 32 # KeyPress
[01066] = 1 # gjiv_came_from_inv
[01153] = 0 # gjm1_cant_go
}
results {
action:assign(01066, 0) # gjiv_came_from_inv
action:assign(00008, 0) # KeyPress
action:assign(01190, 0) # gjm1_backup
action:assign(01193, 0) # gjm1_goto_magic_inv
action:assign(01099, 0) # gjmb_came_from_mb
action:assign(01103, 0) # gjma_came_from_map
action:dissolve()
action:change_location(G, J, IV, 0)
}
flags {
once_per_inst
}
}
puzzle:01194 { # gjm1_goto_inv_from_mb
criteria {
[00018] = 1 # mouse_rightclick
[00019] ! 1 # MenuState
[01066] ! 1 # gjiv_came_from_inv
[01153] = 0 # gjm1_cant_go
}
results {
action:assign(01099, 1) # gjmb_came_from_mb
}
flags {
once_per_inst
}
}
puzzle:01195 { # gjm1_goto_inv_from_mb2
criteria {
[00018] = 1 # mouse_rightclick
[00019] ! 1 # MenuState
[01066] = 1 # gjiv_came_from_inv
[01153] = 0 # gjm1_cant_go
}
results {
action:assign(00018, 0) # mouse_rightclick
action:assign(00008, 32) # KeyPress
}
flags {
once_per_inst
}
}
puzzle:01196 { # gjm1_spell_1_click
criteria {
[01160] = 1 # gjm1_magic_spell_1_click
}
results {
action:assign(01160, 0) # gjm1_magic_spell_1_click
action:assign(01196, 0) # gjm1_spell_1_click
action:inventory(drop 227)
action:inventory(drop 225)
action:inventory(drop 224)
action:inventory(drop 235)
action:inventory(drop 228)
action:inventory(drop 226)
action:inventory(drop 229)
action:inventory(drop 234)
action:inventory(drop 232)
action:inventory(drop 236)
action:inventory(drop 233)
action:inventory(drop 231)
action:inventory(drop 230)
action:inventory(drop 234)
action:inventory(add 224)
action:universe_music:01197(0 gs0zh02q.raw 0 100) # gjm1_spell_sound_1
action:assign(00008, 32) # KeyPress
action:assign(01198, 1) # universe_magic_spell_miscast
action:assign(01199, 1) # universe_magic_spell_miscast_beburtt
}
flags {
once_per_inst
}
}
puzzle:01200 { # gjm1_spell_2_click
criteria {
[01171] = 1 # gjm1_magic_spell_2_click
}
results {
action:assign(01171, 0) # gjm1_magic_spell_2_click
action:assign(01200, 0) # gjm1_spell_2_click
action:inventory(drop 227)
action:inventory(drop 225)
action:inventory(drop 224)
action:inventory(drop 235)
action:inventory(drop 228)
action:inventory(drop 226)
action:inventory(drop 229)
action:inventory(drop 234)
action:inventory(drop 232)
action:inventory(drop 236)
action:inventory(drop 233)
action:inventory(drop 231)
action:inventory(drop 230)
action:inventory(drop 234)
action:inventory(add 225)
action:universe_music:01201(0 gs0zh02q.raw 0 100) # gjm1_spell_sound_2
action:assign(00008, 32) # KeyPress
action:assign(01198, 1) # universe_magic_spell_miscast
action:assign(01199, 1) # universe_magic_spell_miscast_beburtt
}
flags {
once_per_inst
}
}
puzzle:01202 { # gjm1_spell_3_click
criteria {
[01181] = 1 # gjm1_magic_spell_3_click
}
results {
action:assign(01181, 0) # gjm1_magic_spell_3_click
action:assign(01202, 0) # gjm1_spell_3_click
action:inventory(drop 227)
action:inventory(drop 225)
action:inventory(drop 224)
action:inventory(drop 235)
action:inventory(drop 228)
action:inventory(drop 226)
action:inventory(drop 229)
action:inventory(drop 234)
action:inventory(drop 232)
action:inventory(drop 236)
action:inventory(drop 233)
action:inventory(drop 231)
action:inventory(drop 230)
action:inventory(drop 234)
action:inventory(add 226)
action:universe_music:01203(0 gs0zh02q.raw 0 100) # gjm1_spell_sound_3
action:assign(00008, 32) # KeyPress
action:assign(01198, 1) # universe_magic_spell_miscast
action:assign(01199, 1) # universe_magic_spell_miscast_beburtt
}
flags {
once_per_inst
}
}
control:01185 push_toggle { # gjm1_page_turn_1
flat_hotspot(569, 2, 71, 340)
cursor(rightarrow)
}
control:01160 push_toggle { # gjm1_magic_spell_1_click
flat_hotspot(320, 50, 290, 60)
cursor(active)
}
control:01171 push_toggle { # gjm1_magic_spell_2_click
flat_hotspot(320, 110, 290, 60)
cursor(active)
}
control:01181 push_toggle { # gjm1_magic_spell_3_click
flat_hotspot(320, 170, 290, 60)
cursor(active)
}
control:01190 push_toggle { # gjm1_backup
flat_hotspot(0, 286, 568, 57)
cursor(backward)
}
control:01204 flat { # gjm1_flat
}